import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-view-table',
  templateUrl: './view-table.component.html',
  styleUrls: ['./view-table.component.less'],
})
export class ViewTableComponent implements OnInit {
  public tableData:any = [{ "student-name":"ke Shen","pc_name":"admin miao","student":"zou kai" },
  ];
  public head:any =[
    { code: "student-name", name: "Student Info", width: 200,"order":true },
  { code: "pc-name", name: "PC's name" },
  { code: "student", name: "vfijndckl", width: 200 },
];
  constructor() { }

  ngOnInit() {
    // this.ads = this.TableService.getAds();
  }
  rowClick(){
    console.log(2323);
    
  }


}
